*{
    margin:0;
    padding:0
}
.navbar{
    position: absolute;
    top:0px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 60px;
    line-height: 50px; 
    z-index: 999;
    background: #000;
    color:#fff;
}

.navbar .copy{
    margin-left:20px;
}
.navbar .home{
    margin-right:20px;
    
}
html,body{
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    position: fixed;
    top:0;
    left:0;
}

.wrapper{
    position: relative;
    transform-origin: 50% 50%;
    overflow:auto;
    margin:-1px;
}
.wrapper:after{
    clear: both;
    content: "";
    width: 0;
    height: 0;
    display: block;
    visibility: hidden;
}

#canvas{
    position: absolute;
    top:0;
    z-index: 99
}
#canvasClip{
    position: absolute;
    top:0;
    z-index: 88
}
#compose{
    visibility: hidden;
    top:0;
    position: absolute;
}
#composeClip{
    visibility: hidden;
    top:0;
    position: absolute;
}

/* 底部按钮 */
.btn{ 
    position: absolute;
    bottom:0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 50px; 
    z-index: 999;
    padding:10px 0;
    background: #000;
    
}
.btn>div{
    color:#fff;
    height: 50px;
    display: flex;
    align-items: center;
}
.btn>div>img{
    width: 30px;
    height: 30px;
}

.active{
    display: block !important;
}
.disActive{
    display: none !important;
}

/* 笔画大小 */
.penList_wrapper,.rubberList_wrapper{
    background: #fff;
    position: fixed;
    height: 50px;
    padding:10px 0;
    bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100vw;
    left:0;
    z-index:99;
    transition: all 0.5s;
}

div[class*="penList_state"],div[class*="rubberList_state"]{
    border-radius: 50%;
    background: gray;
    width: 20px;
    height: 20px;
}
div[class$="_small"]{
    width: 25px;
    height: 25px;
}
div[class$="_middle"]{
    width: 30px;
    height: 30px;
}
div[class$="_large"]{
    width: 35px;
    height: 35px;
}
div[class$="_huge"]{
    width: 40px;
    height: 40px;
}

/* 遮罩层 */
.layer{
    width: 100vw;
    height: 100%;
    position: absolute;
    bottom:0;
    background: rgba(0, 0, 0,0.5);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#fff;
    display: none;
}
.layer-loading{
    display: none;
    justify-content: center;
    align-items: center;
}
.layer-message{
    display: none;
}
.lay-download{
    display: none;
}
.layer img{
    width: 30px;
    height: 30px;
}
.pinch-zoom-container{
    overflow: visible!important;
}